/*
 * FileName: SysLogs.java
 *
 */
package com.mrc.core.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>
 * Description: 日志
 * </p>
 *
 * @author Mrc
 * @version 4.1

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2017-1-7 下午5:01:35          Mrc        4.1         To create
 * </p>
 *
 * @since 
 * @see     
 */
@Entity
@Table(name = "sys_logs")
public class SysLogs implements Serializable {
    private static final long serialVersionUID = 6689934201717988455L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id_")
    private Long id;
    /** 日志类型 **/
    @Column(name = "log_type")
    private Integer logType;
    /** 操作时间 **/
    @Column(name = "create_date")
    private Date createDate;
    /** 操作人账号 **/
    @Column(name = "opt_person")
    private String optPerson;
    /** 备注 **/
    @Column(name = "remark")
    private String remark;

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the logType
     */
    public Integer getLogType() {
        return logType;
    }

    /**
     * @param logType the logType to set
     */
    public void setLogType(Integer logType) {
        this.logType = logType;
    }

    /**
     * @return the createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate the createDate to set
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return the optPerson
     */
    public String getOptPerson() {
        return optPerson;
    }

    /**
     * @param optPerson the optPerson to set
     */
    public void setOptPerson(String optPerson) {
        this.optPerson = optPerson;
    }

    /**
     * @return the remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark the remark to set
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return the serialversionuid
     */
    public static long getSerialversionuid() {
        return serialVersionUID;
    }

}
